<form class="form-horizontal" role="form" id="ae_form" action="/pg/ac_Organization/Create" method="post">
<input type="hidden" name="id" value="{{pageData['dao'].id}}"/>

    <div class="form-group" title="">
        <label class="col-sm-2 col-lg-2 control-label" for="name">Name:</label>
        <div class="col-sm-5 col-lg-5">
            <input class="form-control" type="text" id="name" name="name" value='{{pageData["dao"].name|nonone}}' />
        </div>
    </div>

    <div class="form-group" title="">
        <label class="col-sm-2 col-lg-2 control-label" for="title">Title:</label>
        <div class="col-sm-5 col-lg-5">
            <input class="form-control" type="text" id="title" name="title" value='{{pageData["dao"].title|nonone}}' />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 col-lg-2 control-label" for="state" >State</label>
        <div class="col-sm-5 col-lg-5">
            <select id="state" name="state" class="validate[required]">
                <option value="active">Active</option>
                <option value="deleted">Deleted</option>
            </select>
        </div>
    </div>
   <div class="form-group" title="">
        <label class="col-sm-2 col-lg-2 control-label" for="image_url">Image Url:</label>
        <div class="col-sm-5 col-lg-5">
            <input class="form-control" type="text" id="image_url" name="image_url" value='{{pageData["dao"].image_url|nonone}}' />
        </div>
    </div>
    <div class="form-group" title="">
        <label class="col-sm-2 col-lg-2 control-label" for="description">Description:</label>
        <div class="col-sm-5 col-lg-5">
            <textarea class="form-control" type="text" id="description "name="description" rows=10" cols="85">{{pageData['dao'].description|nonone}}</textarea>
        </div>
    </div>
    <div class="form-group" title="Bottoni di salvataggio e reset del form">
        <div class="col-sm-5 col-lg-5 col-sm-offset-2">
            <input class="btn btn-default" type="submit" value="Salva" name="add"/>
            <input class="btn btn-default" type="button" value="Chiudi" name="chiudi" id="chiudi_edit"/>
        </div>
    </div>
</form>



<script type="text/javascript">

$(document).ready(function(){

$("#ae_form").validationEngine();
 $(function() {
});

});
</script>
